﻿$(document).ready(function ()
{
    $.get("../../../Home/GetUserPhoto", function (data) {
        if (data == null)
            return null;
        let str = "";
        str += " <img src='../../../Web/Image/" + data.userImage + "' style='width: 40px; height: 40px; border-radius: 50%;'>";
        $(".loginImage").html(str);
        $(".loginImage").attr('href','../../Home/UserInfo');
    },"json")
});